package kr.or.javacafe.usefulInfo.controller;

import java.util.Locale;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
@RequestMapping("/useful-info")
public class UsefulInfoController {
	private static final Logger logger = LoggerFactory.getLogger(UsefulInfoController.class);
	
	
	@RequestMapping(value = "/subway-nursing", method = RequestMethod.GET)
	public String subwayNursing(Locale locale, Model model) {
		return "usefulInfo/subwayNursing";
	}

	@RequestMapping(value = "/fine-dust-advisory", method = RequestMethod.GET)
	public String fineDustAdvisory(Locale locale, Model model) {
		return "usefulInfo/fineDustAdvisory";
	}
	
	@RequestMapping(value = "/heatwave-warning", method = RequestMethod.GET)
	public String heatwaveWarning(Locale locale, Model model) {
		return "usefulInfo/heatwaveWarning";
	}

	@RequestMapping(value = "/twitter-facebook-news", method = RequestMethod.GET)
	public String twitterFacebookNewss(Locale locale, Model model) {
		return "usefulInfo/twitterFacebookNews";
	}
	
}
